import React from "react";
import "../mp-design-tokens/components-styles/Text.css";

const Text = ({ text, textStyle }) => {
  const fullNameTextStyle = `mp-text-${textStyle}`;
  return <span className={fullNameTextStyle}>{text}</span>;
};

export default Text;
